public class ColPawns 
{
    /* Variaveis de instancia */
    private final Pawn[] pawns;
    private int pawnFinishCount;
    
    /**
     * 
     */
    public ColPawns() 
    {
        pawnFinishCount = 0;
        pawns = new Pawn[Game.MAX_PAWNS];
        initializeVector();
    }
    
    /**
     * 
     */
    private void initializeVector()
    {
        for (int i = 0; i < Game.MAX_PAWNS; i++)
            pawns[i] = new Pawn();
    }
    
    /**
     * 
     * @param id
     * @return 
     */
    public Pawn getPawn(int id)
    {
        return pawns[id - Game.ARRAY_OFFSET];
    }
    
    /**
     * 
     * @return 
     */
    public int getPawnFinishCount() 
    {
        return pawnFinishCount;
    }

    /**
     * 
     * @param pawnFinishCount 
     */
    public void setPawnFinishCount(int pawnFinishCount) 
    {
        this.pawnFinishCount = pawnFinishCount;
    }
    
    /**
     * 
     */
    public void incPawnFinishCount() 
    {
        pawnFinishCount++;
    }
}